home *** CD-ROM | disk | FTP | other *** search
/ Grolier Multimedia Encyclopedia 1998 / 1998 Grolier Multimedia Encyclopedia (Grolier Interactive)(1997).iso / Install GME98 / Install GME98.rsrc / bin.rsrc_CDEF_1002_Picture Button.txt < prev    next >
Text File  |  1997-08-13  |  34KB  |  618 lines

  1. start:
  2. 00000000  600E                     bra        +0x10 /* 00000010 */
  3. 00000002  0000 4344                ori.b      D0, 0x44 /* 'D' */
  4. 00000006  4546                     chk.w      D2, D6
  5. 00000008  03EA 0000                bset       [A2 + 0x0], D1
  6. 0000000C  0000 0000                ori.b      D0, 0x0
  7. label00000010:
  8. 00000010  41FA FFEE                lea.l      A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
  9. 00000014  4E71                     nop
  10. 00000016  4E71                     nop
  11. 00000018  6000 04F6                bra        +0x4F8 /* 00000510 */
  12. 0000001C  4EFA 001E                jmp        [PC + 0x1E /* 0000003C */]
  13. 00000020  4EFA 002E                jmp        [PC + 0x2E /* 00000050 */]
  14. fn00000024:
  15. 00000024  4EFA 003E                jmp        [PC + 0x3E /* 00000064 */]
  16. 00000028  4EFA 0056                jmp        [PC + 0x56 /* 00000080 */]
  17. 0000002C  4EFA 0088                jmp        [PC + 0x88 /* 000000B6 */]
  18. 00000030  4EFA 00A4                jmp        [PC + 0xA4 /* 000000D6 */]
  19. 00000034  4EFA 00C2                jmp        [PC + 0xC2 /* 000000F8 */]
  20. 00000038  4EFA 00DE                jmp        [PC + 0xDE /* 00000118 */]
  21. label0000003C:
  22. 0000003C  205F                     movea.l    A0, [A7]+
  23. 0000003E  3218                     move.w     D1, [A0]+
  24. label00000040:
  25. 00000040  3418                     move.w     D2, [A0]+
  26. 00000042  B058                     cmp.w      D0, [A0]+
  27. 00000044  57C9 FFFA                dbeq       D1, -0x8 /* 00000040 */
  28. 00000048  4A42                     tst.w      D2
  29. label0000004A:
  30. 0000004A  67FE                     beq        -0x0 /* 0000004A */
  31. 0000004C  4EF0 20FC                jmp        [A0 + D2.w - 0x4]
  32. label00000050:
  33. 00000050  205F                     movea.l    A0, [A7]+
  34. 00000052  3218                     move.w     D1, [A0]+
  35. label00000054:
  36. 00000054  3418                     move.w     D2, [A0]+
  37. 00000056  B098                     cmp.l      D0, [A0]+
  38. 00000058  57C9 FFFA                dbeq       D1, -0x8 /* 00000054 */
  39. 0000005C  4A42                     tst.w      D2
  40. label0000005E:
  41. 0000005E  67FE                     beq        -0x0 /* 0000005E */
  42. 00000060  4EF0 20FA                jmp        [A0 + D2.w - 0x6]
  43. label00000064:
  44. 00000064  205F                     movea.l    A0, [A7]+
  45. 00000066  3218                     move.w     D1, [A0]+
  46. 00000068  3418                     move.w     D2, [A0]+
  47. 0000006A  B042                     cmp.w      D0, D2
  48. 0000006C  6E0A                     bgt        +0xC /* 00000078 */
  49. 0000006E  9041                     sub.w      D0, D1
  50. 00000070  6D06                     blt        +0x8 /* 00000078 */
  51. 00000072  D040                     add.w      D0, D0
  52. 00000074  41F0 0002                lea.l      A0, [A0 + D0.w + 0x2]
  53. label00000078:
  54. 00000078  3010                     move.w     D0, [A0]
  55. label0000007A:
  56. 0000007A  67FE                     beq        -0x0 /* 0000007A */
  57. 0000007C  4EF0 0000                jmp        [A0 + D0.w]
  58. label00000080:
  59. 00000080  202F 0004                move.l     D0, [A7 + 0x4]
  60. 00000084  2F41 0004                move.l     [A7 + 0x4], D1
  61. 00000088  222F 0008                move.l     D1, [A7 + 0x8]
  62. 0000008C  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  63. 00000090  48E7 3C00                movem.l    -[A7], D2,D3,D4,D5
  64. 00000094  2400                     move.l     D2, D0
  65. 00000096  2601                     move.l     D3, D1
  66. 00000098  4842                     swap.w     D2
  67. 0000009A  C4C3                     mulu.w     D2, D3
  68. 0000009C  2800                     move.l     D4, D0
  69. 0000009E  2A01                     move.l     D5, D1
  70. 000000A0  4845                     swap.w     D5
  71. 000000A2  C8C5                     mulu.w     D4, D5
  72. 000000A4  D444                     add.w      D2, D4
  73. 000000A6  4842                     swap.w     D2
  74. 000000A8  4242                     clr.w      D2
  75. 000000AA  C0C1                     mulu.w     D0, D1
  76. 000000AC  D082                     add.l      D0, D2
  77. 000000AE  4CDF 003C                movem.l    D2,D3,D4,D5, [A7]+
  78. 000000B2  221F                     move.l     D1, [A7]+
  79. 000000B4  4E75                     rts
  80. label000000B6:
  81. 000000B6  202F 0004                move.l     D0, [A7 + 0x4]
  82. 000000BA  2F41 0004                move.l     [A7 + 0x4], D1
  83. 000000BE  222F 0008                move.l     D1, [A7 + 0x8]
  84. 000000C2  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  85. 000000C6  48E7 3100                movem.l    -[A7], D2,D3,D7
  86. 000000CA  4EBA 009C                jsr        [PC + 0x9C /* 00000168 */]
  87. 000000CE  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  88. 000000D2  221F                     move.l     D1, [A7]+
  89. 000000D4  4E75                     rts
  90. label000000D6:
  91. 000000D6  202F 0004                move.l     D0, [A7 + 0x4]
  92. 000000DA  2F41 0004                move.l     [A7 + 0x4], D1
  93. 000000DE  222F 0008                move.l     D1, [A7 + 0x8]
  94. 000000E2  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  95. 000000E6  48E7 3100                movem.l    -[A7], D2,D3,D7
  96. 000000EA  4EBA 007C                jsr        [PC + 0x7C /* 00000168 */]
  97. 000000EE  2001                     move.l     D0, D1
  98. 000000F0  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  99. 000000F4  221F                     move.l     D1, [A7]+
  100. 000000F6  4E75                     rts
  101. label000000F8:
  102. 000000F8  202F 0004                move.l     D0, [A7 + 0x4]
  103. 000000FC  2F41 0004                move.l     [A7 + 0x4], D1
  104. 00000100  222F 0008                move.l     D1, [A7 + 0x8]
  105. 00000104  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  106. 00000108  48E7 3100                movem.l    -[A7], D2,D3,D7
  107. 0000010C  4EBA 002C                jsr        [PC + 0x2C /* 0000013A */]
  108. 00000110  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  109. 00000114  221F                     move.l     D1, [A7]+
  110. 00000116  4E75                     rts
  111. label00000118:
  112. 00000118  202F 0004                move.l     D0, [A7 + 0x4]
  113. 0000011C  2F41 0004                move.l     [A7 + 0x4], D1
  114. 00000120  222F 0008                move.l     D1, [A7 + 0x8]
  115. 00000124  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  116. 00000128  48E7 3100                movem.l    -[A7], D2,D3,D7
  117. 0000012C  4EBA 000C                jsr        [PC + 0xC /* 0000013A */]
  118. 00000130  2001                     move.l     D0, D1
  119. 00000132  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  120. 00000136  221F                     move.l     D1, [A7]+
  121. 00000138  4E75                     rts
  122. fn0000013A:
  123. 0000013A  4A80                     tst.l      D0
  124. 0000013C  6A1C                     bpl        +0x1E /* 0000015A */
  125. 0000013E  4A81                     tst.l      D1
  126. 00000140  6A0C                     bpl        +0xE /* 0000014E */
  127. 00000142  4480                     neg.l      D0
  128. 00000144  4481                     neg.l      D1
  129. 00000146  4EBA 0020                jsr        [PC + 0x20 /* 00000168 */]
  130. 0000014A  4481                     neg.l      D1
  131. 0000014C  4E75                     rts
  132. label0000014E:
  133. 0000014E  4480                     neg.l      D0
  134. 00000150  4EBA 0016                jsr        [PC + 0x16 /* 00000168 */]
  135. 00000154  4480                     neg.l      D0
  136. 00000156  4481                     neg.l      D1
  137. 00000158  4E75                     rts
  138. label0000015A:
  139. 0000015A  4A81                     tst.l      D1
  140. 0000015C  6A0A                     bpl        +0xC /* 00000168 */
  141. 0000015E  4481                     neg.l      D1
  142. 00000160  4EBA 0006                jsr        [PC + 0x6 /* 00000168 */]
  143. 00000164  4480                     neg.l      D0
  144. 00000166  4E75                     rts
  145. fn00000168:
  146. 00000168  2E3C 0000 FFFF           move.l     D7, 0xFFFF
  147. 0000016E  B280                     cmp.l      D1, D0
  148. 00000170  6306                     bls        +0x8 /* 00000178 */
  149. 00000172  2200                     move.l     D1, D0
  150. 00000174  7000                     moveq.l    D0, 0x00
  151. 00000176  4E75                     rts
  152. label00000178:
  153. 00000178  B087                     cmp.l      D0, D7
  154. 0000017A  620C                     bhi        +0xE /* 00000188 */
  155. 0000017C  80C1                     divu.w     D0, D1
  156. 0000017E  4840                     swap.w     D0
  157. 00000180  3200                     move.w     D1, D0
  158. 00000182  4240                     clr.w      D0
  159. 00000184  4840                     swap.w     D0
  160. 00000186  4E75                     rts
  161. label00000188:
  162. 00000188  B287                     cmp.l      D1, D7
  163. 0000018A  621A                     bhi        +0x1C /* 000001A6 */
  164. 0000018C  2E00                     move.l     D7, D0
  165. 0000018E  4240                     clr.w      D0
  166. 00000190  4840                     swap.w     D0
  167. 00000192  80C1                     divu.w     D0, D1
  168. 00000194  4840                     swap.w     D0
  169. 00000196  4847                     swap.w     D7
  170. 00000198  3E00                     move.w     D7, D0
  171. 0000019A  4847                     swap.w     D7
  172. 0000019C  8EC1                     divu.w     D7, D1
  173. 0000019E  3007                     move.w     D0, D7
  174. 000001A0  4847                     swap.w     D7
  175. 000001A2  3207                     move.w     D1, D7
  176. 000001A4  4E75                     rts
  177. label000001A6:
  178. 000001A6  2400                     move.l     D2, D0
  179. 000001A8  2601                     move.l     D3, D1
  180. label000001AA:
  181. 000001AA  E288                     lsr        D0, 1
  182. 000001AC  E289                     lsr        D1, 1
  183. 000001AE  B287                     cmp.l      D1, D7
  184. 000001B0  62F8                     bhi        -0x6 /* 000001AA */
  185. 000001B2  80C1                     divu.w     D0, D1
  186. 000001B4  C087                     and.l      D0, D7
  187. label000001B6:
  188. 000001B6  3203                     move.w     D1, D3
  189. 000001B8  C2C0                     mulu.w     D1, D0
  190. 000001BA  2E03                     move.l     D7, D3
  191. 000001BC  4847                     swap.w     D7
  192. 000001BE  CEC0                     mulu.w     D7, D0
  193. 000001C0  4847                     swap.w     D7
  194. 000001C2  D287                     add.l      D1, D7
  195. 000001C4  6508                     bcs        +0xA /* 000001CE */
  196. 000001C6  9282                     sub.l      D1, D2
  197. 000001C8  6204                     bhi        +0x6 /* 000001CE */
  198. 000001CA  4481                     neg.l      D1
  199. 000001CC  4E75                     rts
  200. label000001CE:
  201. 000001CE  5340                     subq.w     D0, 1
  202. 000001D0  60E4                     bra        -0x1A /* 000001B6 */
  203. 000001D2  0050 0001                ori.w      [A0], 0x1
  204. fn000001D6:
  205. 000001D6  6104                     bsr        +0x6 /* 000001DC */
  206. 000001D8  0000 0000                ori.b      D0, 0x0
  207. fn000001DC:
  208. 000001DC  225F                     movea.l    A1, [A7]+
  209. 000001DE  4E75                     rts
  210. fn000001E0:
  211. 000001E0  4E56 0000                link       A6, 0
  212. 000001E4  206E 0008                movea.l    A0, [A6 + 0x8]
  213. 000001E8  2050                     movea.l    A0, [A0]
  214. 000001EA  42A8 0020                clr.l      [A0 + 0x20]
  215. 000001EE  7000                     moveq.l    D0, 0x00
  216. 000001F0  4E5E                     unlink     A6
  217. 000001F2  4E75                     rts
  218. fn000001F4:
  219. 000001F4  4E56 0000                link       A6, 0
  220. 000001F8  7000                     moveq.l    D0, 0x00
  221. 000001FA  4E5E                     unlink     A6
  222. 000001FC  4E75                     rts
  223. fn000001FE:
  224. 000001FE  4E56 FEAE                link       A6, -0x0152
  225. 00000202  206E 0008                movea.l    A0, [A6 + 0x8]
  226. 00000206  2050                     movea.l    A0, [A0]
  227. 00000208  3D68 0012 FFFE           move.w     [A6 - 0x2], [A0 + 0x12]
  228. 0000020E  206E 0008                movea.l    A0, [A6 + 0x8]
  229. 00000212  2050                     movea.l    A0, [A0]
  230. 00000214  7000                     moveq.l    D0, 0x00
  231. 00000216  1028 0011                move.b     D0, [A0 + 0x11]
  232. 0000021A  3D40 FFFC                move.w     [A6 - 0x4], D0
  233. 0000021E  206E 0008                movea.l    A0, [A6 + 0x8]
  234. 00000222  2050                     movea.l    A0, [A0]
  235. 00000224  2D68 0004 FFF8           move.l     [A6 - 0x8], [A0 + 0x4]
  236. 0000022A  206E 0008                movea.l    A0, [A6 + 0x8]
  237. 0000022E  2050                     movea.l    A0, [A0]
  238. 00000230  7000                     moveq.l    D0, 0x00
  239. 00000232  1028 0010                move.b     D0, [A0 + 0x10]
  240. 00000236  4A40                     tst.w      D0
  241. 00000238  6606                     bne        +0x8 /* 00000240 */
  242. 0000023A  7000                     moveq.l    D0, 0x00
  243. 0000023C  6000 01EE                bra        +0x1F0 /* 0000042C */
  244. label00000240:
  245. 00000240  0C6E 0081 000E           cmpi.w     [A6 + 0xE], 0x81
  246. 00000246  6606                     bne        +0x8 /* 0000024E */
  247. 00000248  7000                     moveq.l    D0, 0x00
  248. 0000024A  6000 01E0                bra        +0x1E2 /* 0000042C */
  249. label0000024E:
  250. 0000024E  486E FFEC                pea.l      [A6 - 0x14]
  251. 00000252  A874                     syscall    GetPort
  252. 00000254  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  253. 00000258  A873                     syscall    SetPort
  254. 0000025A  42A7                     clr.l      -[A7]
  255. 0000025C  A8D8                     syscall    NewRgn
  256. 0000025E  205F                     movea.l    A0, [A7]+
  257. 00000260  2D48 FFE8                move.l     [A6 - 0x18], A0
  258. 00000264  4AAE FFE8                tst.l      [A6 - 0x18]
  259. 00000268  671C                     beq        +0x1E /* 00000286 */
  260. 0000026A  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  261. 0000026E  A87A                     syscall    GetClip
  262. 00000270  206E 0008                movea.l    A0, [A6 + 0x8]
  263. 00000274  2050                     movea.l    A0, [A0]
  264. 00000276  43EE FFDC                lea.l      A1, [A6 - 0x24]
  265. 0000027A  5088                     addq.l     A0, 8
  266. 0000027C  22D8                     move.l     [A1]+, [A0]+
  267. 0000027E  22D8                     move.l     [A1]+, [A0]+
  268. 00000280  486E FFDC                pea.l      [A6 - 0x24]
  269. 00000284  A87B                     syscall    ClipRect
  270. label00000286:
  271. 00000286  0C6E 0081 000E           cmpi.w     [A6 + 0xE], 0x81
  272. 0000028C  6616                     bne        +0x18 /* 000002A4 */
  273. 0000028E  206E 0008                movea.l    A0, [A6 + 0x8]
  274. 00000292  2050                     movea.l    A0, [A0]
  275. 00000294  43EE FEC4                lea.l      A1, [A6 - 0x13C]
  276. 00000298  5088                     addq.l     A0, 8
  277. 0000029A  22D8                     move.l     [A1]+, [A0]+
  278. 0000029C  22D8                     move.l     [A1]+, [A0]+
  279. 0000029E  486E FEC4                pea.l      [A6 - 0x13C]
  280. 000002A2  A8A3                     syscall    EraseRect
  281. label000002A4:
  282. 000002A4  3F3C 0001                move.w     -[A7], 0x1
  283. 000002A8  A887                     syscall    TextFont
  284. 000002AA  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  285. 000002AE  A88A                     syscall    TextSize
  286. 000002B0  4267                     clr.w      -[A7]
  287. 000002B2  A888                     syscall    TextFace
  288. 000002B4  486E FFCC                pea.l      [A6 - 0x34]
  289. 000002B8  A88B                     syscall    GetFontInfo
  290. 000002BA  206E 0008                movea.l    A0, [A6 + 0x8]
  291. 000002BE  2050                     movea.l    A0, [A0]
  292. 000002C0  43EE FFDC                lea.l      A1, [A6 - 0x24]
  293. 000002C4  5088                     addq.l     A0, 8
  294. 000002C6  22D8                     move.l     [A1]+, [A0]+
  295. 000002C8  22D8                     move.l     [A1]+, [A0]+
  296. 000002CA  41EE FFD4                lea.l      A0, [A6 - 0x2C]
  297. 000002CE  5189                     subq.l     A1, 8
  298. 000002D0  20D9                     move.l     [A0]+, [A1]+
  299. 000002D2  20D9                     move.l     [A0]+, [A1]+
  300. 000002D4  206E 0008                movea.l    A0, [A6 + 0x8]
  301. 000002D8  2050                     movea.l    A0, [A0]
  302. 000002DA  4868 0028                pea.l      [A0 + 0x28]
  303. 000002DE  486E FECC                pea.l      [A6 - 0x134]
  304. 000002E2  4878 0100                push.l     0x100
  305. 000002E6  4EBA 0356                jsr        [PC + 0x356 /* 0000063E */]
  306. 000002EA  42A7                     clr.l      -[A7]
  307. 000002EC  4879 5049 4354           push.l     0x50494354 /* 'PICT' */
  308. 000002F2  486E FECC                pea.l      [A6 - 0x134]
  309. 000002F6  A9A1                     syscall    GetNamedResource
  310. 000002F8  205F                     movea.l    A0, [A7]+
  311. 000002FA  2D48 FFE4                move.l     [A6 - 0x1C], A0
  312. 000002FE  2008                     move.l     D0, A0
  313. 00000300  6700 006E                beq        +0x70 /* 00000370 */
  314. 00000304  206E FFE4                movea.l    A0, [A6 - 0x1C]
  315. 00000308  2050                     movea.l    A0, [A0]
  316. 0000030A  43EE FFD4                lea.l      A1, [A6 - 0x2C]
  317. 0000030E  5488                     addq.l     A0, 2
  318. 00000310  22D8                     move.l     [A1]+, [A0]+
  319. 00000312  22D8                     move.l     [A1]+, [A0]+
  320. 00000314  302E FFD8                move.w     D0, [A6 - 0x28]
  321. 00000318  906E FFD4                sub.w      D0, [A6 - 0x2C]
  322. 0000031C  3D40 FFF6                move.w     [A6 - 0xA], D0
  323. 00000320  302E FFDA                move.w     D0, [A6 - 0x26]
  324. 00000324  906E FFD6                sub.w      D0, [A6 - 0x2A]
  325. 00000328  3D40 FFF4                move.w     [A6 - 0xC], D0
  326. 0000032C  3D6E FFDC FFD4           move.w     [A6 - 0x2C], [A6 - 0x24]
  327. 00000332  302E FFD4                move.w     D0, [A6 - 0x2C]
  328. 00000336  D06E FFF6                add.w      D0, [A6 - 0xA]
  329. 0000033A  3D40 FFD8                move.w     [A6 - 0x28], D0
  330. 0000033E  3D6E FFDE FFD6           move.w     [A6 - 0x2A], [A6 - 0x22]
  331. 00000344  302E FFD6                move.w     D0, [A6 - 0x2A]
  332. 00000348  D06E FFF4                add.w      D0, [A6 - 0xC]
  333. 0000034C  3D40 FFDA                move.w     [A6 - 0x26], D0
  334. 00000350  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  335. 00000354  486E FFD4                pea.l      [A6 - 0x2C]
  336. 00000358  A8F6                     syscall    DrawPicture
  337. 0000035A  0C6E 0001 FFFC           cmpi.w     [A6 - 0x4], 0x1
  338. 00000360  660E                     bne        +0x10 /* 00000370 */
  339. 00000362  486E FFD4                pea.l      [A6 - 0x2C]
  340. 00000366  3F3C 0004                move.w     -[A7], 0x4
  341. 0000036A  3F3C 0004                move.w     -[A7], 0x4
  342. 0000036E  A8B3                     syscall    InvertRoundRect
  343. label00000370:
  344. 00000370  302E FFDA                move.w     D0, [A6 - 0x26]
  345. 00000374  5A40                     addq.w     D0, 5
  346. 00000376  3D40 FFF2                move.w     [A6 - 0xE], D0
  347. 0000037A  302E FFD8                move.w     D0, [A6 - 0x28]
  348. 0000037E  906E FFD4                sub.w      D0, [A6 - 0x2C]
  349. 00000382  E240                     asr        D0.w, 1
  350. 00000384  D06E FFD4                add.w      D0, [A6 - 0x2C]
  351. 00000388  322E FFCC                move.w     D1, [A6 - 0x34]
  352. 0000038C  D26E FFCE                add.w      D1, [A6 - 0x32]
  353. 00000390  D26E FFD2                add.w      D1, [A6 - 0x2E]
  354. 00000394  E241                     asr        D1.w, 1
  355. 00000396  D041                     add.w      D0, D1
  356. 00000398  906E FFCE                sub.w      D0, [A6 - 0x32]
  357. 0000039C  3D40 FFF0                move.w     [A6 - 0x10], D0
  358. 000003A0  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  359. 000003A4  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  360. 000003A8  A893                     syscall    MoveTo
  361. 000003AA  486E FECC                pea.l      [A6 - 0x134]
  362. 000003AE  A884                     syscall    DrawString
  363. 000003B0  0C6E 00FF FFFC           cmpi.w     [A6 - 0x4], 0xFF
  364. 000003B6  664E                     bne        +0x50 /* 00000406 */
  365. 000003B8  486E FEAE                pea.l      [A6 - 0x152]
  366. 000003BC  A898                     syscall    GetPenState
  367. 000003BE  42A7                     clr.l      -[A7]
  368. 000003C0  4879 5041 5420           push.l     0x50415420 /* 'PAT ' */
  369. 000003C6  3F3C 03EA                move.w     -[A7], 0x3EA
  370. 000003CA  A9A0                     syscall    GetResource
  371. 000003CC  205F                     movea.l    A0, [A7]+
  372. 000003CE  2D48 FEC8                move.l     [A6 - 0x138], A0
  373. 000003D2  2008                     move.l     D0, A0
  374. 000003D4  670A                     beq        +0xC /* 000003E0 */
  375. 000003D6  206E FEC8                movea.l    A0, [A6 - 0x138]
  376. 000003DA  2F10                     move.l     -[A7], [A0]
  377. 000003DC  A89D                     syscall    PenPat
  378. 000003DE  6014                     bra        +0x16 /* 000003F4 */
  379. label000003E0:
  380. 000003E0  486E FEC0                pea.l      [A6 - 0x140]
  381. 000003E4  4267                     clr.w      -[A7]
  382. 000003E6  3F3C 0019                move.w     -[A7], 0x19
  383. 000003EA  4EBA 0260                jsr        [PC + 0x260 /* 0000064C */]
  384. 000003EE  486E FEC0                pea.l      [A6 - 0x140]
  385. 000003F2  A89D                     syscall    PenPat
  386. label000003F4:
  387. 000003F4  3F3C 000B                move.w     -[A7], 0xB
  388. 000003F8  A89C                     syscall    PenMode
  389. 000003FA  486E FFDC                pea.l      [A6 - 0x24]
  390. 000003FE  A8A2                     syscall    PaintRect
  391. 00000400  486E FEAE                pea.l      [A6 - 0x152]
  392. 00000404  A899                     syscall    SetPenState
  393. label00000406:
  394. 00000406  4267                     clr.w      -[A7]
  395. 00000408  A887                     syscall    TextFont
  396. 0000040A  4267                     clr.w      -[A7]
  397. 0000040C  A88A                     syscall    TextSize
  398. 0000040E  4267                     clr.w      -[A7]
  399. 00000410  A888                     syscall    TextFace
  400. 00000412  4AAE FFE8                tst.l      [A6 - 0x18]
  401. 00000416  670C                     beq        +0xE /* 00000424 */
  402. 00000418  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  403. 0000041C  A879                     syscall    SetClip
  404. 0000041E  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  405. 00000422  A8D9                     syscall    DisposRgn/DisposeRgn
  406. label00000424:
  407. 00000424  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  408. 00000428  A873                     syscall    SetPort
  409. 0000042A  7000                     moveq.l    D0, 0x00
  410. label0000042C:
  411. 0000042C  4E5E                     unlink     A6
  412. 0000042E  4E75                     rts
  413. fn00000430:
  414. 00000430  4E56 FEE8                link       A6, -0x0118
  415. 00000434  206E 0008                movea.l    A0, [A6 + 0x8]
  416. 00000438  2050                     movea.l    A0, [A0]
  417. 0000043A  7000                     moveq.l    D0, 0x00
  418. 0000043C  1028 0011                move.b     D0, [A0 + 0x11]
  419. 00000440  0C40 00FF                cmpi.w     D0, 0xFF
  420. 00000444  6700 00C4                beq        +0xC6 /* 0000050A */
  421. 00000448  206E 0008                movea.l    A0, [A6 + 0x8]
  422. 0000044C  2050                     movea.l    A0, [A0]
  423. 0000044E  7000                     moveq.l    D0, 0x00
  424. 00000450  1028 0010                move.b     D0, [A0 + 0x10]
  425. 00000454  4A40                     tst.w      D0
  426. 00000456  6700 00B2                beq        +0xB4 /* 0000050A */
  427. 0000045A  206E 0008                movea.l    A0, [A6 + 0x8]
  428. 0000045E  2050                     movea.l    A0, [A0]
  429. 00000460  43EE FFE8                lea.l      A1, [A6 - 0x18]
  430. 00000464  5088                     addq.l     A0, 8
  431. 00000466  22D8                     move.l     [A1]+, [A0]+
  432. 00000468  22D8                     move.l     [A1]+, [A0]+
  433. 0000046A  41EE FFF0                lea.l      A0, [A6 - 0x10]
  434. 0000046E  5189                     subq.l     A1, 8
  435. 00000470  20D9                     move.l     [A0]+, [A1]+
  436. 00000472  20D9                     move.l     [A0]+, [A1]+
  437. 00000474  206E 0008                movea.l    A0, [A6 + 0x8]
  438. 00000478  2050                     movea.l    A0, [A0]
  439. 0000047A  4868 0028                pea.l      [A0 + 0x28]
  440. 0000047E  486E FEE8                pea.l      [A6 - 0x118]
  441. 00000482  4878 0100                push.l     0x100
  442. 00000486  4EBA 01B6                jsr        [PC + 0x1B6 /* 0000063E */]
  443. 0000048A  42A7                     clr.l      -[A7]
  444. 0000048C  4879 5049 4354           push.l     0x50494354 /* 'PICT' */
  445. 00000492  486E FEE8                pea.l      [A6 - 0x118]
  446. 00000496  A9A1                     syscall    GetNamedResource
  447. 00000498  205F                     movea.l    A0, [A7]+
  448. 0000049A  2D48 FFF8                move.l     [A6 - 0x8], A0
  449. 0000049E  2008                     move.l     D0, A0
  450. 000004A0  674C                     beq        +0x4E /* 000004EE */
  451. 000004A2  206E FFF8                movea.l    A0, [A6 - 0x8]
  452. 000004A6  2050                     movea.l    A0, [A0]
  453. 000004A8  43EE FFF0                lea.l      A1, [A6 - 0x10]
  454. 000004AC  5488                     addq.l     A0, 2
  455. 000004AE  22D8                     move.l     [A1]+, [A0]+
  456. 000004B0  22D8                     move.l     [A1]+, [A0]+
  457. 000004B2  302E FFF4                move.w     D0, [A6 - 0xC]
  458. 000004B6  906E FFF0                sub.w      D0, [A6 - 0x10]
  459. 000004BA  3D40 FFFE                move.w     [A6 - 0x2], D0
  460. 000004BE  302E FFF6                move.w     D0, [A6 - 0xA]
  461. 000004C2  906E FFF2                sub.w      D0, [A6 - 0xE]
  462. 000004C6  3D40 FFFC                move.w     [A6 - 0x4], D0
  463. 000004CA  3D6E FFE8 FFF0           move.w     [A6 - 0x10], [A6 - 0x18]
  464. 000004D0  302E FFF0                move.w     D0, [A6 - 0x10]
  465. 000004D4  D06E FFFE                add.w      D0, [A6 - 0x2]
  466. 000004D8  3D40 FFF4                move.w     [A6 - 0xC], D0
  467. 000004DC  3D6E FFEA FFF2           move.w     [A6 - 0xE], [A6 - 0x16]
  468. 000004E2  302E FFF2                move.w     D0, [A6 - 0xE]
  469. 000004E6  D06E FFFC                add.w      D0, [A6 - 0x4]
  470. 000004EA  3D40 FFF6                move.w     [A6 - 0xA], D0
  471. label000004EE:
  472. 000004EE  4267                     clr.w      -[A7]
  473. 000004F0  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  474. 000004F4  486E FFF0                pea.l      [A6 - 0x10]
  475. 000004F8  A8AD                     syscall    PtInRect
  476. 000004FA  101F                     move.b     D0, [A7]+
  477. 000004FC  4A00                     tst.b      D0
  478. 000004FE  6604                     bne        +0x6 /* 00000504 */
  479. 00000500  7000                     moveq.l    D0, 0x00
  480. 00000502  6002                     bra        +0x4 /* 00000506 */
  481. label00000504:
  482. 00000504  7001                     moveq.l    D0, 0x01
  483. label00000506:
  484. 00000506  48C0                     ext.l      D0
  485. 00000508  6002                     bra        +0x4 /* 0000050C */
  486. label0000050A:
  487. 0000050A  7000                     moveq.l    D0, 0x00
  488. label0000050C:
  489. 0000050C  4E5E                     unlink     A6
  490. 0000050E  4E75                     rts
  491. label00000510:
  492. 00000510  4E56 FFF4                link       A6, -0x000C
  493. 00000514  4EBA FCC0                jsr        [PC - 0x340 /* 000001D6 */]
  494. 00000518  2288                     move.l     [A1], A0
  495. 0000051A  2F0C                     move.l     -[A7], A4
  496. 0000051C  4EBA FCB8                jsr        [PC - 0x348 /* 000001D6 */]
  497. 00000520  2851                     movea.l    A4, [A1]
  498. 00000522  302E 000C                move.w     D0, [A6 + 0xC]
  499. 00000526  4EBA FAFC                jsr        [PC - 0x504 /* 00000024 */]
  500. 0000052A  0000 000B                ori.b      D0, 0xB
  501. 0000052E  00FA 0018                ori.?      [PC + 0x18 /* 00000548 */], 0xFFFFFFFFFFFFFFFF
  502. 00000532  0038 0052 0086           ori.b      [0x00000086], 0x52 /* 'R' */
  503. 00000538  00F4 00F2                ori.?      [A4 + D0.w - 0x14], 0xFFFFFFFFFFFFFFFF
  504. 0000053C  00F0 00EE                ori.?      [A0 + D0.w - 0x18], 0xFFFFFFFFFFFFFFFF
  505. 00000540  0090 00E6 00AC           ori.l      [A0], 0xE600AC
  506. 00000546  00D6                     ori.?      [A6], 0xFFFFFFFFFFFFFFFF
  507. 00000548  203C 0000 FFFF           move.l     D0, 0xFFFF
  508. 0000054E  C0AE 0008                and.l      D0, [A6 + 0x8]
  509. 00000552  3F00                     move.w     -[A7], D0
  510. 00000554  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  511. 00000558  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  512. 0000055C  4EBA FCA0                jsr        [PC - 0x360 /* 000001FE */]
  513. 00000560  508F                     addq.l     A7, 8
  514. 00000562  2D40 FFFC                move.l     [A6 - 0x4], D0
  515. 00000566  6000 00C4                bra        +0xC6 /* 0000062C */
  516. 0000056A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  517. 0000056E  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  518. 00000572  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  519. 00000576  4EBA FEB8                jsr        [PC - 0x148 /* 00000430 */]
  520. 0000057A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  521. 0000057E  2D40 FFFC                move.l     [A6 - 0x4], D0
  522. 00000582  6000 00A8                bra        +0xAA /* 0000062C */
  523. 00000586  206E 000E                movea.l    A0, [A6 + 0xE]
  524. 0000058A  2050                     movea.l    A0, [A0]
  525. 0000058C  43EE FFF4                lea.l      A1, [A6 - 0xC]
  526. 00000590  5088                     addq.l     A0, 8
  527. 00000592  22D8                     move.l     [A1]+, [A0]+
  528. 00000594  22D8                     move.l     [A1]+, [A0]+
  529. 00000596  203C 7FFF FFFF           move.l     D0, 0x7FFFFFFF
  530. 0000059C  C0AE 0008                and.l      D0, [A6 + 0x8]
  531. 000005A0  2F00                     move.l     -[A7], D0
  532. 000005A2  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  533. 000005A6  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  534. 000005AA  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  535. 000005AE  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  536. 000005B2  A8DE                     syscall    SetRecRgn
  537. 000005B4  42AE FFFC                clr.l      [A6 - 0x4]
  538. 000005B8  6000 0072                bra        +0x74 /* 0000062C */
  539. 000005BC  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  540. 000005C0  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  541. 000005C4  4EBA FC1A                jsr        [PC - 0x3E6 /* 000001E0 */]
  542. 000005C8  5C8F                     addq.l     A7, 6
  543. 000005CA  2D40 FFFC                move.l     [A6 - 0x4], D0
  544. 000005CE  605C                     bra        +0x5E /* 0000062C */
  545. 000005D0  203C 0000 FFFF           move.l     D0, 0xFFFF
  546. 000005D6  C0AE 0008                and.l      D0, [A6 + 0x8]
  547. 000005DA  3F00                     move.w     -[A7], D0
  548. 000005DC  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  549. 000005E0  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  550. 000005E4  4EBA FC0E                jsr        [PC - 0x3F2 /* 000001F4 */]
  551. 000005E8  508F                     addq.l     A7, 8
  552. 000005EA  2D40 FFFC                move.l     [A6 - 0x4], D0
  553. 000005EE  603C                     bra        +0x3E /* 0000062C */
  554. 000005F0  206E 000E                movea.l    A0, [A6 + 0xE]
  555. 000005F4  2050                     movea.l    A0, [A0]
  556. 000005F6  43EE FFF4                lea.l      A1, [A6 - 0xC]
  557. 000005FA  5088                     addq.l     A0, 8
  558. 000005FC  22D8                     move.l     [A1]+, [A0]+
  559. 000005FE  22D8                     move.l     [A1]+, [A0]+
  560. 00000600  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  561. 00000604  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  562. 00000608  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  563. 0000060C  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  564. 00000610  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  565. 00000614  A8DE                     syscall    SetRecRgn
  566. 00000616  42AE FFFC                clr.l      [A6 - 0x4]
  567. 0000061A  6010                     bra        +0x12 /* 0000062C */
  568. 0000061C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  569. 00000620  A8DD                     syscall    SetEmptyRgn
  570. 00000622  42AE FFFC                clr.l      [A6 - 0x4]
  571. 00000626  6004                     bra        +0x6 /* 0000062C */
  572. 00000628  42AE FFFC                clr.l      [A6 - 0x4]
  573. label0000062C:
  574. 0000062C  285F                     movea.l    A4, [A7]+
  575. 0000062E  202E FFFC                move.l     D0, [A6 - 0x4]
  576. 00000632  4E5E                     unlink     A6
  577. 00000634  205F                     movea.l    A0, [A7]+
  578. 00000636  4FEF 000C                lea.l      A7, [A7 + 0xC]
  579. 0000063A  2E80                     move.l     [A7], D0
  580. 0000063C  4ED0                     jmp        [A0]
  581. fn0000063E:
  582. 0000063E  221F                     move.l     D1, [A7]+
  583. 00000640  201F                     move.l     D0, [A7]+
  584. 00000642  225F                     movea.l    A1, [A7]+
  585. 00000644  205F                     movea.l    A0, [A7]+
  586. 00000646  A02E                     syscall    BlockMove/BlockMoveData
  587. 00000648  2241                     movea.l    A1, D1
  588. 0000064A  4ED1                     jmp        [A1]
  589. fn0000064C:
  590. 0000064C  4E56 0000                link       A6, 0
  591. 00000650  594F                     subq.w     A7, 4
  592. 00000652  2F3C 5041 5423           move.l     -[A7], 0x50415423 /* 'PAT#' */
  593. 00000658  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  594. 0000065C  A9A0                     syscall    GetResource
  595. 0000065E  226E 000C                movea.l    A1, [A6 + 0xC]
  596. 00000662  201F                     move.l     D0, [A7]+
  597. 00000664  671C                     beq        +0x1E /* 00000682 */
  598. 00000666  2040                     movea.l    A0, D0
  599. 00000668  2050                     movea.l    A0, [A0]
  600. 0000066A  3018                     move.w     D0, [A0]+
  601. 0000066C  322E 0008                move.w     D1, [A6 + 0x8]
  602. 00000670  6710                     beq        +0x12 /* 00000682 */
  603. 00000672  B240                     cmp.w      D1, D0
  604. 00000674  620C                     bhi        +0xE /* 00000682 */
  605. label00000676:
  606. 00000676  5341                     subq.w     D1, 1
  607. 00000678  6704                     beq        +0x6 /* 0000067E */
  608. 0000067A  5048                     addq.w     A0, 8
  609. 0000067C  60F8                     bra        -0x6 /* 00000676 */
  610. label0000067E:
  611. 0000067E  22D8                     move.l     [A1]+, [A0]+
  612. 00000680  2290                     move.l     [A1], [A0]
  613. label00000682:
  614. 00000682  4E5E                     unlink     A6
  615. 00000684  205F                     movea.l    A0, [A7]+
  616. 00000686  508F                     addq.l     A7, 8
  617. 00000688  4ED0                     jmp        [A0]
  618.